package xyz.ddlnt.serviceusr.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.ddlnt.model.entity.Technology;
import xyz.ddlnt.model.vo.ExamQuestionIntroVO;
import xyz.ddlnt.model.vo.TechnologyInfoVO;

import java.util.List;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/5 1:32
 */
public interface TechnologyService extends IService<Technology> {
    /**
     * 根据技术id获取试题简介
     * @param technologyId
     * @return
     */
    List<ExamQuestionIntroVO> listExamQuestionIntroVO(Long technologyId);

    /**
     * 根据类别id查询类别下所有科目信息
     * @param categoryId
     * @return
     */
    List<TechnologyInfoVO> selectByCategoryId(Long categoryId);

    /**
     * 根据科目id查询科目信息
     * @param technologyId
     * @return
     */
    TechnologyInfoVO selectByTechnologyId(Long technologyId);
}
